import { request } from '@/utils'

export function list(data) {
  return request({
    url: `projectData/selectPage`,
    method: 'post',
    data,
  })
}

export function info(params) {
  return request({
    url: `projectData/selectById`,
    method: 'get',
    params,
  })
}

export function add(data) {
  return request({
    url: `projectData/add`,
    method: 'post',
    data,
  })
}

export function edit(params) {
  return request({
    url: `projectData/update`,
    method: 'put',
    params,
  })
}

export function del(params) {
  return request({
    url: `projectData/delete`,
    method: 'delete',
    params,
  })
}
